package com.quzi.kettle.api.response;

import com.example.httprequest.BaseResponseHandler;
import com.google.gson.Gson;
import com.quzi.kettle.bean.http.User;

public abstract class UserResponse<u extends User> extends BaseResponseHandler<User> {

	public void onDataReceived(String str) {
		t = new Gson().fromJson(str, User.class);
		onSuccess(t);	
	};
	
}
